import { ApiProperty } from '@nestjs/swagger';

export class CollectionWordDto {
  @ApiProperty({
    name: '',
    description: '收藏的单词id',
    example: 2,
  })
  wordId: number;

  /**
   * 收藏的用户id
   */
  userId: number;

  @ApiProperty({
    name: 'dictionaryId',
    description: '词典id',
    example: 1,
  })
  dictionaryId: number;
}
